import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'

// 加载Picture组件
import picture from '@/components/body/Picture'
import picText from '@/components/body/picText'
import text from '@/components/body/Text'

Vue.use(Router)

export default new Router({

  linkActiveClass:'active',

  // 在这里配置相关路由
  routes: [
    {
       path:'/',
       redirect:'/picture',
    },{
       path:'/picture',
       component:picture,
     },{
       path:'/picText',
       component:picText,
     },{
       path:'/text',
       component:text,
     }
  ]
})
